//
//  LeverCurrentRequest.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/7/21.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit
enum leverOrderType {
    case leverCurrent
    case leverPosition
    case leverHistory
}
class LeverCurrentRequest: BaseRequest {
    var type:leverOrderType?
    override func path() -> String {
        if type == .leverCurrent {
        return Api.Leveraged.currentOrder
        }else if type == .leverPosition {
            return Api.Leveraged.positionOrder
        }
        return ""
    }
    override func method() -> HTTPMethodType {
        return .get
    }
}
